home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / texinf~1.zoo / texinfo.st / Makefile.st < prev    next >
Encoding:
Makefile  |  1993-06-25  |  2.8 KB  |  99 lines

  1. # Makefile for Texinfo distribution.    -*- Indented-Text -*-
  2. # Atari ST version
  3. # Copyright (C) 1993 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. #### Start of system configuration section. ####
  20.  
  21. srcdir = .
  22. VPATH  = $(srcdir):$(common)
  23.  
  24. common = $(srcdir)/libtxi
  25.  
  26. CC = cgcc
  27. #CC = gcc
  28. RM    = rm -f
  29. STRIP   = xstrip -k $@ # uncomment for a "production" version
  30.  
  31. RM    = rm -f
  32.  
  33. DEFS =  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SETVBUF=1 -DHAVE_BZERO=1 \
  34.  -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_BCOPY=1 
  35.  
  36. #if '-mshort' used turn on definition of EXT
  37. MSHORT = #-mshort
  38. EXT = #16
  39.  
  40. LIBS = 
  41. LOADLIBES = $(LIBS)
  42.  
  43. ALLOCA = 
  44.  
  45. CFLAGS = -O2 -fomit-frame-pointer $(MSHORT) -Wall
  46. LDFLAGS = $(MSHORT) -Xlinker -x -v
  47.  
  48. # Where info files go.
  49. infodir = c:\\gnu\\info
  50. # For info program - pick up your path separator.
  51. PSEP = ,# 
  52. DEFAULT_INFOPATH = .$(PSEP)$(infodir)
  53.  
  54. #### End of system configuration section. ####
  55.  
  56. VERSION = 3.1
  57. DISTNAME = texinfo-$(VERSION)
  58.  
  59. # Subdirectories that have makefiles
  60. SUBDIRS = libtxi makeinfo info util texi2roff
  61.  
  62. MDEFINES = infodir='$(infodir)' CFLAGS='$(CFLAGS)' \
  63.     CC='$(CC)' ALLOCA='$(ALLOCA)' LDFLAGS='$(LDFLAGS)' \
  64.     DEFAULT_INFOPATH='$(DEFAULT_INFOPATH)' STRIP='$(STRIP)'
  65.  
  66. all: lb makeinfo.ttp info.ttp texindex.ttp texi2roff.ttp
  67.  
  68. lb:
  69.     cd libtxi; $(MAKE) -f Makefile.st $(MDEFINES); cd ..
  70.  
  71. makeinfo.ttp:
  72.     cd makeinfo; $(MAKE) -f Makefile.st $(MDEFINES); cd ..
  73.  
  74. info.ttp:
  75.     cd info; $(MAKE) -f Makefile.st $(MDEFINES); cd ..
  76.  
  77. texindex.ttp:
  78.     cd util; $(MAKE) -f Makefile.st $(MDEFINES); cd ..
  79.  
  80. texi2roff.ttp:
  81.     cd texi2roff; $(MAKE) -f Makefile.st $(MDEFINES); cd ..
  82.  
  83. clean:
  84.     cd libtxi; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  85.     cd makeinfo; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  86.     cd info; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  87.     cd util; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  88.     cd texi2roff; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  89.  
  90. realclean:
  91.     cd libtxi; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  92.     cd makeinfo; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  93.     cd info; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  94.     cd util; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  95.     cd texi2roff; $(MAKE) -f Makefile.st $(MDEFINES) $@; cd ..
  96.  
  97. # Prevent GNU make v3 from overflowing arg limit on SysV.
  98. .NOEXPORT:
  99.